<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <!-- 全屏 -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 上方栏显示 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <!-- 不自动识别号码 -->
    <meta name="format-detection" content="telephone=no">
    <!-- Include js plugin -->
    <title>课程-直播课</title>
    <link rel="stylesheet" href="/static/wap/skin/css/layout.css">
    <link rel="stylesheet" href="/static/wap/skin/css/demos.css">
	<script src="/static/wap/skin/js/jquery-2.1.4.js"></script>
	<script src="/static/wap/skin/js/demos.js"></script>
</head>
<body>
<header class="brB">
	<div class="h_top">
    	<div class="hLeft"><a href="/my/home" class="icoH icoReturn mt20"></a></div>
    	<div class="hCenter"><span class="tit c-3ac9af">课程</span></div>
    </div>
</header>
<div class="warp">
	<div class="b-FFFFFF ptb20 brB">
    	<div style="padding:0 10%;">
            <div class="layout-box kechen_tab tac u3">
                <a class="box-col" href="/my/user/video_course">视频课</a>
                <a class="box-col curr" href="/my/user/zhibo_course">直播课</a>
                <a class="box-col" href="/my/offline_course">面授课</a>
            </div>
        </div>
    </div>
    <{if $zhiboke|count > 0}>
	<div class="fix b-FFFFFF mt20">
    	<ul>
            <{foreach from=$zhiboke item=item}>
        	<li class="p20 brB">
            	<dl class="layout-box">
                    <dt class="ith_img2">
                        <a href="/live/detail/<{$item.id}>">
                        <span class="mr20" style="height:3rem; width:4rem; background-image:url(<{$item.course_img}>)"></span>
                        </a>
                    </dt>
                    <dd class="box-col">
                    	<div class="h40 oh"><span class="fs26"><a href="/live/detail/<{$item.id}>"><{$item.title}></a></span></div>
                        <div><span class="fs22 c-666666">主讲老师：<{$item.teacher_name}></span></div>
                        <div>
                        <{if $item.is_live==1}>
                        <span class="fs22 c-999999">直播中 <a href="/live/detail/<{$item.id}>">进入房间</a></span>
                        <{else}>
                        <span class="fs22 c-999999">未开播</span>
                        <{/if}> 
                        </div>
                    </dd>
                </dl>
            </li>
        	<{/foreach}>
        </ul>
    </div>
    <{else}>
    <div style="width: 100%;text-align: center; font-size: 10px; font-weight: bold;">
        <p style="padding:20px 0;">您现在还没有直播课，去看看有喜欢的直播吗？挑一下</p>
        <p><a class="layui-btn" href="/live">查看所有直播课</a></p>
    </div>
    <{/if}>
</div>
</body>
</html>